<?php

require_once( 'flexical/model/object.php' );

class Flexical_Model_Query extends Flexical_Model_Object
{
	/* Google Calendar query properties */
	public $futureevents;
	public $recurrence_expansion_start;
	public $recurrence_expansion_end;
	public $singleevents;
	public $start_min;
	public $start_max;
	public $timezone;

	/* Flexical query properties */
	public $start_min_relative;
	public $start_min_offset;
	public $start_max_relative;
	public $start_max_offset;

	public function __construct()
	{
		parent::__construct();

		$this->futureevents = true;
		$this->orderby = 'starttime';
		$this->recurrence_expansion_start = '';
		$this->recurrence_expansion_end = '';
		$this->singleevents = true;
		$this->sortorder = 'ascending';
		$this->start_min = '';
		$this->start_max = '';
		$this->timezone = '';

		$this->start_min_relative = 'relative';
		$this->start_min_offset = 0;
		$this->start_max_relative = 'default';
		$this->start_max_offset = 0;
	}
}

?>
